package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hzd
 * @since 2024-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cashbook_title")
@ApiModel(value="CashbookTitle对象", description="")
public class CashbookTitle implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "城市id")
    @TableField("city_id")
    private Integer cityId;

    @ApiModelProperty(value = "记账类型")
    @TableField("cashbook_type")
    private String cashbookType;

    @ApiModelProperty(value = "对应他题目")
    @TableField("cashbook_title")
    private String cashbookTitle;

    @TableField("creation_by")
    private String creationBy;

    @TableField("creation_time")
    private LocalDateTime creationTime;


}
